Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@types/tether
Advanced tools
TypeScript definitions for tether
npm install --save @types/tether
This package contains type definitions for tether (https://github.com/shipshapecode/tether).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tether.
export = Tether;
export as namespace Tether;
// global Tether constructor
declare class Tether {
constructor(options: Tether.ITetherOptions);
public setOptions(options: Tether.ITetherOptions): void;
public disable(): void;
public enable(): void;
public destroy(): void;
public position(): void;
public static position(): void;
}
declare namespace Tether {
interface ITetherOptions {
attachment: string;
bodyElement?: HTMLElement | undefined;
classes?: { [className: string]: boolean | string } | undefined;
classPrefix?: string | undefined;
constraints?: ITetherConstraint[] | undefined;
element?: HTMLElement | string | any | undefined /* JQuery */;
enabled?: boolean | undefined;
offset?: string | undefined;
optimizations?: any;
target?: HTMLElement | string | any | undefined /* JQuery */;
targetAttachment?: string | undefined;
targetOffset?: string | undefined;
targetModifier?: string | undefined;
}
interface ITetherConstraint {
attachment?: string | undefined;
outOfBoundsClass?: string | undefined;
pin?: boolean | string[] | undefined;
pinnedClass?: string | undefined;
to?: string | HTMLElement | number[] | undefined;
}
}
These definitions were written by Adi Dahiya.
FAQs
TypeScript definitions for tether
We found that @types/tether demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.